import MusicManager from "../../../../MusicManager";
import { Killer } from "../../../funcObj/interface/HealthPoint";
import FlyerMissile from "../FlyerMissile";

const { ccclass, property } = cc._decorator;

@ccclass
export default class Electric extends FlyerMissile {

    _angle: number = 0;


    public get angle(): number {
        return this._angle;
    }

    public set angle(v: number) {
        this._angle = v;
    }

    die(killer: Killer): void {
        MusicManager.instance.play(MusicManager.instance.giantBomb, this.node);
        super.die(killer);
    }
}
